package cn.yunyichina.provider.iface.service;

import cn.yunyichina.provider.iface.entity.common.ResCommon;
import cn.yunyichina.provider.iface.entity.dto.pacity.*;
import cn.yunyichina.provider.iface.entity.dto.pacity.PacityOrderQueryRequestDTO;
import cn.yunyichina.provider.iface.entity.dto.pacity.PacityOrderQueryResponseDTO;

/**
 * Created by Lullaby on 2017/6/13.
 */
public interface IPacity extends IService {

    ResCommon<PacityAccessTokenResponseDTO> getPacityAccessToken(PacityAccessTokenRequestDTO requestDTO);

    ResCommon<PacityUserInfoResponseDTO> getPacityUserInfo(PacityUserInfoRequestDTO requestDTO);

    ResCommon<PacityPayResponseDTO> doPacityPay(PacityPayRequestDTO requestDTO);

    ResCommon<PacityRefundResponseDTO> doPacityRefund(PacityRefundRequestDTO requestDTO);

    ResCommon<PacityOrderQueryResponseDTO> queryPacityOrder(PacityOrderQueryRequestDTO requestDTO);

    ResCommon<PacityRefundOrderQueryResponseDTO> queryPacityRefundOrder(PacityRefundOrderQueryRequestDTO requestDTO);

}
